package com.taxshare.seller.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.seller.constant.table.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author YANG
 * @date 2021/3/18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_SELLER_BLANK_INVOICE_COLLECTION)
@ApiModel(description = "空白发票领购")
public class BlankInvoiceCollctionEntity extends BaseEntity implements Serializable {

    @TableId("uuid")
    @ApiModelProperty("主键")
    private String uuid;

    @TableField("seller_name")
    @ApiModelProperty("公司名称")
    private String sellerName;

    @TableField("seller_tax_no")
    @ApiModelProperty("公司税号")
    private String sellerTaxNo;

    @TableField("company_code")
    @ApiModelProperty("公司编码")
    private String companyCode;

    @TableField("invoice_type")
    @ApiModelProperty("发票类型（004-专票；007-普票；026-电票）")
    private String invoiceType;

    @TableField("invoice_code")
    @ApiModelProperty("发票代码")
    private String invoiceCode;

    @TableField("invoice_no_start")
    @ApiModelProperty("发票起号")
    private String invoiceStartNo;

    @TableField("invoice_no_end")
    @ApiModelProperty("发票止号")
    private String invoiceNoEnd;

    @TableField("invoice_sheet")
    @ApiModelProperty("发票张数")
    private String invoiceSheet;

    @TableField("pick_up_date")
    @ApiModelProperty("领购日期")
    private String pickUpDate;

    @TableField("warn_number")
    @ApiModelProperty("预警值")
    private Long warnNumber;
}
